from django.db import models

# Create your models here.

class Configuration(models.Model):
    name = models.CharField(verbose_name=u'参数', max_length=128, help_text=u'相关性能的参数')
    current_time = models.DateTimeField(verbose_name='时间', auto_now=True)

    class Meta:
        verbose_name = "配置"
        verbose_name_plural = "系统配置"

    def __str__(self):
        return self.name



class time_depoly(models.Model):
    name = models.CharField(verbose_name=u'时间', max_length=128, help_text=u'时间参数配置')

    class Meta:
        verbose_name = u"时间配置"
        verbose_name_plural = u'时间配置'

    def __str__(self): 
        return self.name


class IP_depoly(models.Model):
    name = models.CharField(verbose_name=u'IP配置', max_length=128, help_text=u'IP参数配置')

    class Meta:
        verbose_name = u"IP配置"
        verbose_name_plural = u'IP配置'

    def __str__(self):
        return self.name